// 8_4_4.c
#include <stdio.h>
int main()
{
    char a[] = "1234";
    char b[] = {'1', '2', '3', '4'};
    int lengthOfA = sizeof(a);
    int lengthOfB = sizeof(b);

    printf("sizeof array a is %d\nsizeof array b is %d\n", lengthOfA, lengthOfB);
    for (int i = 0; i < lengthOfA; i++)
        printf("the %d address:%#x,%#x\n", i, &a[i], a[i]);

    int *pint = (int *)a;
    printf("%#x", *pint);

    return 0;
}